CREATE TABLE [dbo].[TTCLAS_CNTA]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_CLAS_CNTA] [dbo].[TD_VC_003] NOT NULL,
[DE_CLAS_CNTA] [dbo].[TD_VC_050] NULL,
[NU_SECU_CLAS] [dbo].[TD_VC_003] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL,
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTCLAS_CN__FE_US__0B27A5C0] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL,
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTCLAS_CN__FE_US__0C1BC9F9] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCLAS_CNTA] ADD CONSTRAINT [XPKTTCLAS_CNTA] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_CLAS_CNTA]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCLAS_CNTA] ADD CONSTRAINT [TMPARA_CONT_A_TTCLAS_CNTA] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_CONT] ([CO_EMPR])
GO
